class Animal {
    private name: string;
    constructor(theName: string) {
        this.name = theName;
    }
    public move(distanceInMeter: number = 0) {
        console.log(`${this.name} moved ${distanceInMeter}m.`)
    }
}

export default Animal;
